home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / mplus_1.exe / GSCREEN.H < prev    next >
Text File  |  1991-12-01  |  1KB  |  37 lines

  1. /*--------------------------------------------------------------
  2.  *  File:           GSCREEN.H
  3.  *  Description:    Screen attribute definitions to simplify
  4.  *                  color interface for MPLUS library.
  5.  *
  6.  *  Developed for the MPLUS Graphic Interface Library
  7.  *  Copyright (c) 1989 by Michael Yam
  8.  *-------------------------------------------------------------*/
  9.  
  10. /*---------------------------------------------------------*
  11.  *  The following are for EGA, VGA graphics modes          *
  12.  *---------------------------------------------------------*/
  13. #define BLACK           0x00
  14. #define BLUE            0x01
  15. #define GREEN           0x02
  16. #define CYAN            0x03
  17. #define RED             0x04
  18. #define MAGENTA         0x05
  19. #define BROWN           0x06
  20. #define WHITE           0x07
  21.  
  22. #define GREY            0x08            /* for the British in you */
  23. #define GRAY            0x08
  24. #define LIGHTBLUE       0x09
  25. #define LIGHTGREEN      0x0A
  26. #define LIGHTCYAN       0x0B
  27. #define LIGHTRED        0x0C
  28. #define LIGHTMAGENTA    0x0D
  29. #define LIGHTYELLOW     0x0E
  30. #define YELLOW          LIGHTYELLOW     /* just keeping up with MSC 6.0 conventions */
  31. #define BRIGHTWHITE     0x0F
  32.  
  33. /*-------------------------------------------------------------*
  34.  *                      End of GSCREEN.H                       *
  35.  *-------------------------------------------------------------*/
  36.  
  37.